numUp = 2
numUnder = 1
total = 0
for i in range(20):
    total += numUp / numUnder
    numUp += numUnder
    numUnder = numUp - numUnder
    # if i < 5:
    #     print(f'{numUp}/{numUnder}')

print(f'数列的和为={total}')
